home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2005 January
/
CHIP_CD_2005-01.iso
/
service
/
winamp
/
files
/
winamp505_strata.exe
/
$R0
/
Winamp Modern
/
eq.m
< prev
next >
Wrap
Text File
|
2004-07-01
|
517b
|
23 lines
#include <lib/std.mi>
Global Group frameGroup;
Global Button btnEQp12,btnEQ0,btnEQm12;
System.onScriptLoaded() {
frameGroup = getScriptGroup();
btnEQp12 = frameGroup.findObject("EQ_p12");
btnEQ0 = frameGroup.findObject("EQ_0");
btnEQm12 = frameGroup.findObject("EQ_m12");
}
btnEQp12.onLeftClick() {
for(int i=0; i<10; i++) setEqBand(i, 127);
}
btnEQ0.onLeftClick() {
for(int i=0; i<10; i++) setEqBand(i, 0);
}
btnEQm12.onLeftClick() {
for(int i=0; i<10; i++) setEqBand(i, -127);
}